import request from '@/utils/request';
// 获取列表
export const tableDataApi = (params: object) =>
  request.post('/ssystem-api/api/index/lineList', params);

export const addApi = (params: object) =>
  request.post('/ssystem-api/api/index/addLine', params);
export const delApi = (params: object) =>
  request.post('/ssystem-api/api/index/delline', params);
// 批次线和选科
export const checkSubAndLineApi = (params: object) =>
  request.post('/ssystem-api/api/index/checkSubAndLine', params);
// 批次
export const batchLineApi = (params: object) =>
  request.post('/ssystem-api/api/index/batchLine', params);
